package cn.bdqn.mapper;

import cn.bdqn.pojo.Right;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface RightMapper extends BaseMapper<Right> {
    /**
     * 根据角色，查询角色的权限
     * @param roleId
     * @return
     */
    public List<Right> findRightsByRoleId(Long roleId);
}
